package cn.kgc.kongqi.service;

import cn.kgc.kongqi.pojo.Index;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-05-20 22:25
 */
public interface IndexService {

    //分页查询
    public  PageInfo<Index> selectPageInfo(Integer pageNum,Integer pageSize,Integer districtId);

    //添加
    public  Integer addIndex(Index index);
    //删除
    public Integer  deleteIndex(Integer id);

    //根据id查询
    public Index indexById(Integer id);
    //修改
    public Integer  updateIndex(Index index);


}
